package org.bulu.project.system.service;

import org.bulu.project.common.result.Result;
import org.bulu.project.system.model.dto.VideoUploadInfoDTO;
import org.bulu.project.system.model.entity.Video;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface VideoUploadService {
    Result addVideo(Video video);
    Result UploadVideo(MultipartFile file);
    Result DeleteVideo(String videoUrl);
    Result DeleteAllVideoInformation(Integer videoId);
    Result uploadCover(MultipartFile file);
}
